#ifndef _RENDERER_H
#define _RENDERER_H

#include <vector>

#include "math/color.h"
#include "math/vec3.h"

#include "Component.h"
#include "Graphics.h"

namespace TG
{
	class Texture;
	class Shader;

	class Renderer : public Component
	{
	public:
		int size;

		vec3* vertex;
		int* index;
		vec3* normal;
		vec3* tangent;
		Rgba* color;
		vec3* uv0;
		vec3* uv1;

		Texture* texture;
		CULLFACE cullface;
		Shader* shader;

		Renderer();

		virtual ~Renderer();
	};
}
#endif